package com.moly.websocketone.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Description:
 * @Author: m01
 * @Date: created at  2018/11/10  16:54
 * @Modified By:
 */


@Controller
@RequestMapping(value = "/hello",method = RequestMethod.GET)
public class Hello {


    @RequestMapping(value = "",method = RequestMethod.GET)
    @ResponseBody
    public String index(){
        return "hello1";
    }
}
